﻿// // ******************************************************************
// //       /\ /|       @file       LocalizationOption.cs
// //       \ V/        @brief      await29
// //       | "")       @author     Await, 285283010@qq.com
// //       /  |
// //      /  \\        @Modified   2024-12-15 09:12
// //    *(__\_\        @Copyright  Copyright (c) , 2024-12-15 09:12 Await
// // ******************************************************************

using System.ComponentModel;

namespace AutomaticSubtitles.Contracts.Entity;

public class LocalizationOption<TD>(string name, TD value)
{
    [Description("语言描述")]
    public string Name { get; set; } = name;

    [Description("语言代码")] public TD Value { get; set; } = value;
}